package com.project.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 垃圾识别：(Rubbish)表实体类
 *
 * @author xxx
 *@since 202X-XX-XX
 */
@TableName("Rubbish")
@Data
@EqualsAndHashCode(callSuper = false)
public class Rubbish implements Serializable {

    private static final long serialVersionUID = -88817457497416984L;

    /**
     * 垃圾识别id
     */
    @TableId(value = "rubbish_id", type = IdType.AUTO)
    private Integer rubbishId;

    /**
     * 图片
     */
    @TableField(value = "img_url")
    private String img_url;

    /**
     * 封标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 分类
     */
    @TableField(value = "type")
    private String type;

    /**
     * 用户
     */
    @TableField(value = "user_id")
    private Integer user_id;

    /**
     * 创建时间：
     */
    @TableField(value = "create_time")
    private Timestamp createTime;

    /**
     * 更新时间：
     */
    @TableField(value = "update_time")
    private Timestamp updateTime;

}

